widget: Fix GtkWidget::draw docs
authorBenjamin Otte <otte@redhat.com>
Wed, 6 Oct 2010 10:52:39 +0000 (12:52 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 6 Oct 2010 10:53:33 +0000 (12:53 +0200)
width and height have been gone for a while...

gtk/gtkwidget.c

index bd404f6db1124f386e93298ecee31e636577d5f4..0acf8eae4b02c6bb9e18c76d7c5e5cf3c3464fb5 100644 (file)
@@ -1341,12 +1341,12 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * GtkWidget::draw:
    * @widget: the object which received the signal
    * @cr: the cairo context to draw to
-   * @width: width of the widget
-   * @height: height of the widget
    *
    * This signal is emitted when a widget is supposed to render itself.
    * The @widget's top left corner must be painted at the origin of
-   * the passed in context and be sized in the given @width and @height.
+   * the passed in context and be sized to the values returned by
+   * gtk_widget_get_allocated_width() and
+   * gtk_widget_get_allocated_height().
    *
    * Signal handlers connected to this signal can modify the cairo
    * context passed as @cr in any way they like and don't need to